from django.shortcuts import render
from django.views.decorators.cache import cache_page
# Create your views here.
from stu.models import Clazz

# def cache_wrapper(func):
#     def _wrapper(requesr,*args,**kwargs):



def stu(request):
    clist = Clazz.objects.all()
    return render(request,'index.html',{'clist':clist})